package Entity;

/**
 *
 * @author Hieu Tran
 */
public class Category {
    private int id;
    private String name;
    private String slug;
    private int parentID;

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getSlug() {
        return slug;
    }

    public int getParentID() {
        return parentID;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSlug(String slug) {
        this.slug = slug;
    }

    public void setParentID(int parentID) {
        this.parentID = parentID;
    }

    public Category(int id, String name, String slug, int parentID) {
        this.id = id;
        this.name = name;
        this.slug = slug;
        this.parentID = parentID;
    }

    public Category(String name, String slug, int parentID) {
        this.name = name;
        this.slug = slug;
        this.parentID = parentID;
    }
    
}
